Release 10.1A: OpenEdge Development:
ADM Reference


propertyType

Locates the set property function for the specified property name either locally or in a SUPER procedure, and returns its data type.

Location: smart.p

Parameters:

INPUT pcPropName AS CHARACTER

Property name.

Returns: CHARACTER (The data type of the property.)

Notes: This procedure is generally used internally by the ADM.

Example:

/* This code, adapted from the addLink procedure, determines whether a 
   link is permitted to have multiple Targets based on whether the 
   supporting property function accepts a handle (for a single object 
   handle) or a character string (for a comma-separated list of 
   handles. */ 
IF dynamic-function(‘propertyType’:U, INPUT pcLinkType + "Source":U) = 
"CHARACTER":U THEN 
  RUN modifyListProperty (‘ADD’:U º )   /* To add the string to a list. */ 
ELSE dynamic-function(‘set’:U + pcLinkType + "Source":U, INPUT phTarget). 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095